Distances in and Layering of a DAG
نویسندگان
چکیده
The diameter of an undirected unweighted graph G = (V,E) is the maximum value of the distance from any vertex u to another vertex v for u, v ∈ V where distance i.e. d(u, v) is the length of the shortest path from u to v in G. DAG, is a directed graph without a cycle. We denote the diameter of an unweighted DAG G = (V,E) by δ(G). The stretch of a DAG G is the length of longest path from u to v in G, for all choices of (u, v) ∈ V denoted by ∆(G). The diameter of an undirected graph can be computed in O(|V |(|V |+ |E|)) time by executing breadth first search |V | times. We show that stretch and diameter of a DAG can be computed in O(|V |+ |E|) time and O(|V ||E|) time respectively. A DAG is balanced if and only if a consistent assignment of level numbers to all vertices is possible. Layering refers to such an assignment. A balanced DAG is defined. An efficient algorithm that either detects whether a given DAG is unbalanced or layers it otherwise is designed with a running time of O(|V |+ |E|).
منابع مشابه
Determination of kinetic parameters for potassium uptake by wheat at different growth stages
Root influx parameters (Vmax and Km) of wheat (Triticum aestivum var. HD-2285) were determined at different stages of crop growth, viz. CRIS-Crown Root Initiation Stage, MTS-Maximum Tillering Stage, FLS-Flag Leaf Stage and DFS-Dough Formation Stage. Wheat was grown in sand medium with Hoagland nutrient solution (all nutrients except potassium). Plants were taken out from sand culture at 22, 41,...
متن کاملNeuro-behavioral Profile and Toxicity of the Essential Oil of Dorema ammoniacum Gum as an Anti-seizure, Anti-Nociceptive, And Hypnotic Agent with Memory-enhancing Properties in D-Galactose Induced Aging Mice
In this study, we focused on the neuro-behavioral profile, toxicity, and possible mechanisms of action of Dorema ammoniacum gum essential oil (DAG-EO). For this purpose, passive avoidance and Y-maze tests were performed to evaluate the potential effect of DAG-EO in the attenuation of memory impairment induced by 49 days administration of D-galactose and acute injection of scopolam...
متن کاملNeuro-behavioral Profile and Toxicity of the Essential Oil of Dorema ammoniacum Gum as an Anti-seizure, Anti-Nociceptive, And Hypnotic Agent with Memory-enhancing Properties in D-Galactose Induced Aging Mice
In this study, we focused on the neuro-behavioral profile, toxicity, and possible mechanisms of action of Dorema ammoniacum gum essential oil (DAG-EO). For this purpose, passive avoidance and Y-maze tests were performed to evaluate the potential effect of DAG-EO in the attenuation of memory impairment induced by 49 days administration of D-galactose and acute injection of scopolam...
متن کاملTask Scheduling Algorithm in Grid Environment Based on Duplication and Insertion
Grid resource scheduling theory involving basic theoretical knowledge for grid scheduling was discussed in this paper. Then an intensive study of the scheduling strategy was made. According to the heterogeneous characteristic of grid environment, an improved algorithm DIBS for task scheduling were proposed. In this algorithm, the entire scheduling process was divided into three steps: layering,...
متن کاملThe evaluation and comparison of marginal adaptation in metal ceramic and all ceramic restorations fabricated by two methods: CAD/CAM and conventional
Introduction: Marginal fit is a key factor for long term clinical success through any dental restorations. Poor marginal adaptation causes cement dissolution. This can lead to dental caries, gingival irritation, periodontal diseases, and finally treatment failure. The aim of this study was measurement and comparison of marginal gap quantities in metal ceramic and all ceramic dental restorations...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1711.03256 شماره
صفحات -
تاریخ انتشار 2017